﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<TPOJ.Model.ForumMessage>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Messages
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <script type="text/javascript">
        $().ready(function () {
            $("#treeview").treeview();
        });
    </script>

    <ul id="treeview">
        <% Html.RenderPartial("~/Views/Shared/TreeNode.ascx", Model); %>
    </ul>

    <p>
        <%= Html.ActionLink("Create New", "Create", new { id = ViewData["pid"] })%>
    </p>

</asp:Content>

